package com.hsc.yalebao.adapter;

import android.content.Context;
import android.view.LayoutInflater;
import android.widget.BaseAdapter;
import android.widget.TextView;
import com.hsc.yalebao.model.GetAgentProfitListBeanModel;
import java.util.ArrayList;

public class GetAgentProfitListAdapter extends BaseAdapter
{
  String TAG = "GetAgentProfitListAdapter";
  private Context context;
  int count = 1;
  ViewHolder holder = null;
  private LayoutInflater inflater;
  private ArrayList<GetAgentProfitListBeanModel> list;
  private String savePoint;

  public GetAgentProfitListAdapter(Context paramContext, ArrayList<GetAgentProfitListBeanModel> paramArrayList)
  {
    this.context = paramContext;
    this.inflater = LayoutInflater.from(paramContext);
    this.list = paramArrayList;
  }

  public int getCount()
  {
    if (this.list == null)
      return 0;
    return this.list.size();
  }

  public Object getItem(int paramInt)
  {
    return this.list.get(paramInt);
  }

  public long getItemId(int paramInt)
  {
    return paramInt;
  }

  // ERROR //
  public android.view.View getView(int paramInt, android.view.View paramView, android.view.ViewGroup paramViewGroup)
  {
    // Byte code:
    //   0: aload_2
    //   1: ifnonnull +122 -> 123
    //   4: aload_0
    //   5: new 65	com/hsc/yalebao/adapter/GetAgentProfitListAdapter$ViewHolder
    //   8: dup
    //   9: aload_0
    //   10: invokespecial 68	com/hsc/yalebao/adapter/GetAgentProfitListAdapter$ViewHolder:<init>	(Lcom/hsc/yalebao/adapter/GetAgentProfitListAdapter;)V
    //   13: putfield 31	com/hsc/yalebao/adapter/GetAgentProfitListAdapter:holder	Lcom/hsc/yalebao/adapter/GetAgentProfitListAdapter$ViewHolder;
    //   16: aload_0
    //   17: getfield 41	com/hsc/yalebao/adapter/GetAgentProfitListAdapter:inflater	Landroid/view/LayoutInflater;
    //   20: ldc 69
    //   22: aconst_null
    //   23: invokevirtual 73	android/view/LayoutInflater:inflate	(ILandroid/view/ViewGroup;)Landroid/view/View;
    //   26: astore_2
    //   27: aload_0
    //   28: getfield 31	com/hsc/yalebao/adapter/GetAgentProfitListAdapter:holder	Lcom/hsc/yalebao/adapter/GetAgentProfitListAdapter$ViewHolder;
    //   31: aload_2
    //   32: ldc 74
    //   34: invokevirtual 80	android/view/View:findViewById	(I)Landroid/view/View;
    //   37: checkcast 82	android/widget/TextView
    //   40: invokestatic 86	com/hsc/yalebao/adapter/GetAgentProfitListAdapter$ViewHolder:access$0	(Lcom/hsc/yalebao/adapter/GetAgentProfitListAdapter$ViewHolder;Landroid/widget/TextView;)V
    //   43: aload_0
    //   44: getfield 31	com/hsc/yalebao/adapter/GetAgentProfitListAdapter:holder	Lcom/hsc/yalebao/adapter/GetAgentProfitListAdapter$ViewHolder;
    //   47: aload_2
    //   48: ldc 87
    //   50: invokevirtual 80	android/view/View:findViewById	(I)Landroid/view/View;
    //   53: checkcast 82	android/widget/TextView
    //   56: invokestatic 90	com/hsc/yalebao/adapter/GetAgentProfitListAdapter$ViewHolder:access$1	(Lcom/hsc/yalebao/adapter/GetAgentProfitListAdapter$ViewHolder;Landroid/widget/TextView;)V
    //   59: aload_0
    //   60: getfield 31	com/hsc/yalebao/adapter/GetAgentProfitListAdapter:holder	Lcom/hsc/yalebao/adapter/GetAgentProfitListAdapter$ViewHolder;
    //   63: aload_2
    //   64: ldc 91
    //   66: invokevirtual 80	android/view/View:findViewById	(I)Landroid/view/View;
    //   69: checkcast 82	android/widget/TextView
    //   72: invokestatic 94	com/hsc/yalebao/adapter/GetAgentProfitListAdapter$ViewHolder:access$2	(Lcom/hsc/yalebao/adapter/GetAgentProfitListAdapter$ViewHolder;Landroid/widget/TextView;)V
    //   75: aload_0
    //   76: getfield 31	com/hsc/yalebao/adapter/GetAgentProfitListAdapter:holder	Lcom/hsc/yalebao/adapter/GetAgentProfitListAdapter$ViewHolder;
    //   79: aload_2
    //   80: ldc 95
    //   82: invokevirtual 80	android/view/View:findViewById	(I)Landroid/view/View;
    //   85: checkcast 82	android/widget/TextView
    //   88: invokestatic 98	com/hsc/yalebao/adapter/GetAgentProfitListAdapter$ViewHolder:access$3	(Lcom/hsc/yalebao/adapter/GetAgentProfitListAdapter$ViewHolder;Landroid/widget/TextView;)V
    //   91: aload_0
    //   92: getfield 31	com/hsc/yalebao/adapter/GetAgentProfitListAdapter:holder	Lcom/hsc/yalebao/adapter/GetAgentProfitListAdapter$ViewHolder;
    //   95: astore 17
    //   97: aload_2
    //   98: aload 17
    //   100: invokevirtual 102	android/view/View:setTag	(Ljava/lang/Object;)V
    //   103: aload_0
    //   104: getfield 43	com/hsc/yalebao/adapter/GetAgentProfitListAdapter:list	Ljava/util/ArrayList;
    //   107: iload_1
    //   108: invokevirtual 55	java/util/ArrayList:get	(I)Ljava/lang/Object;
    //   111: checkcast 104	com/hsc/yalebao/model/GetAgentProfitListBeanModel
    //   114: astore 4
    //   116: aload 4
    //   118: ifnonnull +19 -> 137
    //   121: aload_2
    //   122: areturn
    //   123: aload_0
    //   124: aload_2
    //   125: invokevirtual 108	android/view/View:getTag	()Ljava/lang/Object;
    //   128: checkcast 65	com/hsc/yalebao/adapter/GetAgentProfitListAdapter$ViewHolder
    //   131: putfield 31	com/hsc/yalebao/adapter/GetAgentProfitListAdapter:holder	Lcom/hsc/yalebao/adapter/GetAgentProfitListAdapter$ViewHolder;
    //   134: goto -31 -> 103
    //   137: aload 4
    //   139: invokevirtual 112	com/hsc/yalebao/model/GetAgentProfitListBeanModel:getStart_date	()Ljava/lang/String;
    //   142: astore 6
    //   144: aload 4
    //   146: invokevirtual 115	com/hsc/yalebao/model/GetAgentProfitListBeanModel:getEnd_date	()Ljava/lang/String;
    //   149: astore 7
    //   151: aload 6
    //   153: iconst_5
    //   154: invokevirtual 121	java/lang/String:substring	(I)Ljava/lang/String;
    //   157: astore 8
    //   159: aload 7
    //   161: iconst_5
    //   162: invokevirtual 121	java/lang/String:substring	(I)Ljava/lang/String;
    //   165: astore 9
    //   167: aload 8
    //   169: iconst_0
    //   170: iconst_5
    //   171: invokevirtual 124	java/lang/String:substring	(II)Ljava/lang/String;
    //   174: astore 10
    //   176: aload 9
    //   178: iconst_0
    //   179: iconst_5
    //   180: invokevirtual 124	java/lang/String:substring	(II)Ljava/lang/String;
    //   183: astore 11
    //   185: aload_0
    //   186: getfield 31	com/hsc/yalebao/adapter/GetAgentProfitListAdapter:holder	Lcom/hsc/yalebao/adapter/GetAgentProfitListAdapter$ViewHolder;
    //   189: invokestatic 128	com/hsc/yalebao/adapter/GetAgentProfitListAdapter$ViewHolder:access$4	(Lcom/hsc/yalebao/adapter/GetAgentProfitListAdapter$ViewHolder;)Landroid/widget/TextView;
    //   192: new 130	java/lang/StringBuilder
    //   195: dup
    //   196: aload 10
    //   198: invokestatic 134	java/lang/String:valueOf	(Ljava/lang/Object;)Ljava/lang/String;
    //   201: invokespecial 137	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   204: ldc 139
    //   206: invokevirtual 143	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   209: aload 11
    //   211: invokevirtual 143	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   214: invokevirtual 146	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   217: invokevirtual 150	android/widget/TextView:setText	(Ljava/lang/CharSequence;)V
    //   220: aload_0
    //   221: getfield 31	com/hsc/yalebao/adapter/GetAgentProfitListAdapter:holder	Lcom/hsc/yalebao/adapter/GetAgentProfitListAdapter$ViewHolder;
    //   224: invokestatic 153	com/hsc/yalebao/adapter/GetAgentProfitListAdapter$ViewHolder:access$5	(Lcom/hsc/yalebao/adapter/GetAgentProfitListAdapter$ViewHolder;)Landroid/widget/TextView;
    //   227: new 130	java/lang/StringBuilder
    //   230: dup
    //   231: invokespecial 154	java/lang/StringBuilder:<init>	()V
    //   234: aload 4
    //   236: invokevirtual 157	com/hsc/yalebao/model/GetAgentProfitListBeanModel:getMonth	()I
    //   239: invokevirtual 160	java/lang/StringBuilder:append	(I)Ljava/lang/StringBuilder;
    //   242: invokevirtual 146	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   245: invokevirtual 150	android/widget/TextView:setText	(Ljava/lang/CharSequence;)V
    //   248: aload_0
    //   249: getfield 31	com/hsc/yalebao/adapter/GetAgentProfitListAdapter:holder	Lcom/hsc/yalebao/adapter/GetAgentProfitListAdapter$ViewHolder;
    //   252: invokestatic 163	com/hsc/yalebao/adapter/GetAgentProfitListAdapter$ViewHolder:access$6	(Lcom/hsc/yalebao/adapter/GetAgentProfitListAdapter$ViewHolder;)Landroid/widget/TextView;
    //   255: new 130	java/lang/StringBuilder
    //   258: dup
    //   259: invokespecial 154	java/lang/StringBuilder:<init>	()V
    //   262: aload 4
    //   264: invokevirtual 166	com/hsc/yalebao/model/GetAgentProfitListBeanModel:getPrice	()Ljava/lang/String;
    //   267: invokevirtual 143	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   270: invokevirtual 146	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   273: invokevirtual 150	android/widget/TextView:setText	(Ljava/lang/CharSequence;)V
    //   276: aload_0
    //   277: getfield 31	com/hsc/yalebao/adapter/GetAgentProfitListAdapter:holder	Lcom/hsc/yalebao/adapter/GetAgentProfitListAdapter$ViewHolder;
    //   280: invokestatic 169	com/hsc/yalebao/adapter/GetAgentProfitListAdapter$ViewHolder:access$7	(Lcom/hsc/yalebao/adapter/GetAgentProfitListAdapter$ViewHolder;)Landroid/widget/TextView;
    //   283: new 130	java/lang/StringBuilder
    //   286: dup
    //   287: invokespecial 154	java/lang/StringBuilder:<init>	()V
    //   290: aload 4
    //   292: invokevirtual 172	com/hsc/yalebao/model/GetAgentProfitListBeanModel:getProfits	()Ljava/lang/String;
    //   295: invokevirtual 143	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   298: invokevirtual 146	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   301: invokevirtual 150	android/widget/TextView:setText	(Ljava/lang/CharSequence;)V
    //   304: aload 4
    //   306: invokevirtual 172	com/hsc/yalebao/model/GetAgentProfitListBeanModel:getProfits	()Ljava/lang/String;
    //   309: astore 12
    //   311: dconst_0
    //   312: dstore 13
    //   314: dload 13
    //   316: iconst_2
    //   317: invokestatic 177	com/hsc/yalebao/tools/UiUtil:savePoint	(DI)Ljava/lang/String;
    //   320: pop
    //   321: aload 12
    //   323: invokestatic 183	java/lang/Double:parseDouble	(Ljava/lang/String;)D
    //   326: dstore 13
    //   328: aload_0
    //   329: dload 13
    //   331: iconst_2
    //   332: invokestatic 177	com/hsc/yalebao/tools/UiUtil:savePoint	(DI)Ljava/lang/String;
    //   335: putfield 185	com/hsc/yalebao/adapter/GetAgentProfitListAdapter:savePoint	Ljava/lang/String;
    //   338: dload 13
    //   340: dconst_0
    //   341: dcmpl
    //   342: ifle +75 -> 417
    //   345: aload_0
    //   346: getfield 31	com/hsc/yalebao/adapter/GetAgentProfitListAdapter:holder	Lcom/hsc/yalebao/adapter/GetAgentProfitListAdapter$ViewHolder;
    //   349: invokestatic 169	com/hsc/yalebao/adapter/GetAgentProfitListAdapter$ViewHolder:access$7	(Lcom/hsc/yalebao/adapter/GetAgentProfitListAdapter$ViewHolder;)Landroid/widget/TextView;
    //   352: new 130	java/lang/StringBuilder
    //   355: dup
    //   356: ldc 187
    //   358: invokespecial 137	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   361: aload_0
    //   362: getfield 185	com/hsc/yalebao/adapter/GetAgentProfitListAdapter:savePoint	Ljava/lang/String;
    //   365: invokevirtual 143	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   368: invokevirtual 146	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   371: invokevirtual 150	android/widget/TextView:setText	(Ljava/lang/CharSequence;)V
    //   374: aload_0
    //   375: getfield 31	com/hsc/yalebao/adapter/GetAgentProfitListAdapter:holder	Lcom/hsc/yalebao/adapter/GetAgentProfitListAdapter$ViewHolder;
    //   378: invokestatic 169	com/hsc/yalebao/adapter/GetAgentProfitListAdapter$ViewHolder:access$7	(Lcom/hsc/yalebao/adapter/GetAgentProfitListAdapter$ViewHolder;)Landroid/widget/TextView;
    //   381: aload_0
    //   382: getfield 33	com/hsc/yalebao/adapter/GetAgentProfitListAdapter:context	Landroid/content/Context;
    //   385: invokevirtual 193	android/content/Context:getResources	()Landroid/content/res/Resources;
    //   388: ldc 194
    //   390: invokevirtual 200	android/content/res/Resources:getColor	(I)I
    //   393: invokevirtual 204	android/widget/TextView:setTextColor	(I)V
    //   396: aload_2
    //   397: areturn
    //   398: astore 5
    //   400: aload 5
    //   402: invokevirtual 207	java/lang/Exception:printStackTrace	()V
    //   405: aload_2
    //   406: areturn
    //   407: astore 15
    //   409: aload 15
    //   411: invokevirtual 208	java/lang/NumberFormatException:printStackTrace	()V
    //   414: goto -76 -> 338
    //   417: aload_0
    //   418: getfield 31	com/hsc/yalebao/adapter/GetAgentProfitListAdapter:holder	Lcom/hsc/yalebao/adapter/GetAgentProfitListAdapter$ViewHolder;
    //   421: invokestatic 169	com/hsc/yalebao/adapter/GetAgentProfitListAdapter$ViewHolder:access$7	(Lcom/hsc/yalebao/adapter/GetAgentProfitListAdapter$ViewHolder;)Landroid/widget/TextView;
    //   424: new 130	java/lang/StringBuilder
    //   427: dup
    //   428: invokespecial 154	java/lang/StringBuilder:<init>	()V
    //   431: aload_0
    //   432: getfield 185	com/hsc/yalebao/adapter/GetAgentProfitListAdapter:savePoint	Ljava/lang/String;
    //   435: invokevirtual 143	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   438: invokevirtual 146	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   441: invokevirtual 150	android/widget/TextView:setText	(Ljava/lang/CharSequence;)V
    //   444: aload_0
    //   445: getfield 31	com/hsc/yalebao/adapter/GetAgentProfitListAdapter:holder	Lcom/hsc/yalebao/adapter/GetAgentProfitListAdapter$ViewHolder;
    //   448: invokestatic 169	com/hsc/yalebao/adapter/GetAgentProfitListAdapter$ViewHolder:access$7	(Lcom/hsc/yalebao/adapter/GetAgentProfitListAdapter$ViewHolder;)Landroid/widget/TextView;
    //   451: aload_0
    //   452: getfield 33	com/hsc/yalebao/adapter/GetAgentProfitListAdapter:context	Landroid/content/Context;
    //   455: invokevirtual 193	android/content/Context:getResources	()Landroid/content/res/Resources;
    //   458: ldc 209
    //   460: invokevirtual 200	android/content/res/Resources:getColor	(I)I
    //   463: invokevirtual 204	android/widget/TextView:setTextColor	(I)V
    //   466: aload_2
    //   467: areturn
    //
    // Exception table:
    //   from	to	target	type
    //   137	311	398	java/lang/Exception
    //   314	338	398	java/lang/Exception
    //   345	396	398	java/lang/Exception
    //   409	414	398	java/lang/Exception
    //   417	466	398	java/lang/Exception
    //   314	338	407	java/lang/NumberFormatException
  }

  public void setData(ArrayList<GetAgentProfitListBeanModel> paramArrayList)
  {
    this.list = paramArrayList;
  }

  public class ViewHolder
  {
    private TextView tv_fanli;
    private TextView tv_kuisun;
    private TextView tv_memberCount;
    private TextView tv_yuefen;

    public ViewHolder()
    {
    }
  }
}

/* Location:           C:\Users\user\Desktop\dd28_pcdd720\classes_dex2jar.jar
 * Qualified Name:     com.hsc.yalebao.adapter.GetAgentProfitListAdapter
 * JD-Core Version:    0.6.2
 */